﻿using Nest;

namespace In66.Net.Elasticsearch
{
    public class ElasticsearchBuilder<T> where T : ElasticsearchEntity
    {
        public List<Func<QueryContainerDescriptor<T>, QueryContainer>> FuncList;

        public ElasticsearchBuilder()
        {
            FuncList = new List<Func<QueryContainerDescriptor<T>, QueryContainer>>();
        }
        public List<Func<QueryContainerDescriptor<T>, QueryContainer>> Build()
        {
            return FuncList;
        }
    }
}
